package com.pmms.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 领养信息表，记录所有领养信息
 * @TableName adopt_pet
 */
@TableName(value ="adopt_pet")
@Data
public class AdoptPet implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer adoptPetId;

    /**
     * 
     */
    private String userId;

    /**
     * 
     */
    private String petId;

    /**
     * 领养日期
     */
    private Long adoptPetDate;

    /**
     * 状态，领养中1,归还0
     */
    private Integer adoptPetStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}